package nowcode;


public class Test01 {
        public boolean isNumeric (String str) {
            return str.matches("[+-]?\\d*\\.?\\d+|[+-]?\\d*\\.?\\d+[eE][+-]?\\d+");
        }
}
